#!/usr/bin/env python3
# -*- coding: utf-8 -*-
# Author:Summerday


import networkx as nx
from matplotlib import pyplot as plt
import random
from numpy import random as nprand

seed = hash("network science in python") % 2**32
nprand.seed(seed)
random.seed(seed)

plt.rcParams.update({
	'figure.figsize':(7.5,7.5)
})

G = nx.Graph() # create a graph object

G.add_node('A')
G.add_nodes_from(['B','C'])

G.add_edge('A','B')
G.add_edges_from([('B','C'),('A','C')])
G.add_edges_from([('B', 'D'), ('C', 'E')])
# plt.figure(figsize=(7.5,7.5))
plt.figure()
nx.draw_networkx(G)
plt.show()

